home *** CD-ROM | disk | FTP | other *** search
- ;LibMain.ASM
- ;Copyright (c) 1992 Jay Munro
- ;First published in PC Magazine June 16, 1992
-
- .286P
- .Model Medium
-
- Extrn UnlockSegment:Proc
- Public LibMain, WEP
- Include LabNotes.Inc
-
- .Code
-
- ;---- Optional LibMain -- used for initialization
- LibMain Proc Far
- Push -1 ;-1 specifies current data segment
- Call UnLockSegment ;unlock data segment
- Mov AX,1 ;just return true
- Ret 6
- LibMain EndP
-
- ;---- Windows Exit Procedure
- Wep Proc Far ;Export
- WinProlog
- Mov AX,1
- WinEpilog
- Ret 2
- Wep EndP
-
- End
-